package rs.belex.belexdroid.beans;

import rs.belex.belexdroid.beans.interfaces.Account;
import rs.belex.belexdroid.beans.interfaces.User;


public class UserBean implements User {

	private static final long serialVersionUID = -5062930484363376451L;
	private String name;
	private String username;
	private String password;
	private Account account;

	public UserBean(){
		super();
	}
	public UserBean(String name, String uname, String pass, AccountBean account){
		this.name = name;
		this.username = uname;
		this.password = pass;
		this.account = account;
	}
	public String getName() {
		return name;
	}


	public String getUsername() {
		return username;
	}
	
	
	public String getPassword() {
		return password;
	}

	
	public Account getAccount() {
		return this.account;
	}
	
	public void setName(String username) {
		this.name = username;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
